package org.ctd.springframework.beans.factory.xml;

/**
 * NamespaceHandler
 *
 * @author chentudong
 * @time 2019/3/25 1:12
 */
public interface NamespaceHandler {
    /**
     * init
     */
    void init();

    /**
     * parse
     * @param element element
     * @param parserContext parserContext
     * @return BeanDefinition
     */
    //BeanDefinition parse(Element element, ParserContext parserContext);

    /**
     * decorate
     * @param source source
     * @param definition definition
     * @param parserContext parserContext
     * @return BeanDefinitionHolder
     */
    //BeanDefinitionHolder decorate(Node source, BeanDefinitionHolder definition, ParserContext parserContext);

}
